package arquitetura.model;

import java.util.Collection;

import to.TipoMidia;
import exceptions.*;

public interface ModelTipoMidia {	
	public void incluir(TipoMidia tipoMidia) throws ConexaoException, ModelException;
	public void alterar(TipoMidia tipoMidia)throws ConexaoException, ModelException;
	public void excluir(int codigo) throws ConexaoException, ModelException;
	public TipoMidia consultar(int codigo) throws ConexaoException, ModelException;
	public Collection<String []> listarParaGrid() throws ConexaoException, ModelException;
	public boolean descricaoJahCadastrada(TipoMidia tipoMidia) throws ConexaoException, ModelException;
	public boolean podeExcluirTipoMidia(int codigo) throws ConexaoException, ModelException;
}
